All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.apple.alpha.core.NativeObject | +----com.apple.alpha.app.Responder | +----com.apple.alpha.app.View | +----com.apple.alpha.app.Text | +----com.apple.alpha.app.TextView
NSTextView
.
[[NSTextView
alloc] init]
.
- initWithCoder:
on a newly allocated object.
- initWithFrame:
on a newly allocated object.
- initWithFrame:textContainer:
on a newly allocated object.
- acceptableDragTypes
Objective-C instance method.
- alignJustified:
Objective-C instance method.
- backgroundColor
Objective-C instance method.
- becomeFirstResponder
Objective-C instance method.
- changeColor:
Objective-C instance method.
- cleanUpAfterDragOperation
Objective-C instance method.
- conversationIdentifier
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
- delegate
Objective-C instance method.
- didChangeText
Objective-C instance method.
- doCommandBySelector:
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
- dragOperationForDraggingInfo:type:
Objective-C instance method.
- drawInsertionPointInRect:color:turnedOn:
Objective-C instance method.
- drawsBackground
Objective-C instance method.
- hasMarkedText
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
- importsGraphics
Objective-C instance method.
- insertionPointColor
Objective-C instance method.
- insertText:
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
- invalidateTextContainerOrigin
Objective-C instance method.
- isEditable
Objective-C instance method.
- isFieldEditor
Objective-C instance method.
- isRichText
Objective-C instance method.
- isRulerVisible
Objective-C instance method.
- isSelectable
Objective-C instance method.
- layoutManager
Objective-C instance method.
- loosenKerning:
Objective-C instance method.
- lowerBaseline:
Objective-C instance method.
- markedRange
Objective-C instance method.
- markedTextAttributes
Objective-C instance method.
- pasteAsPlainText:
Objective-C instance method.
- pasteAsRichText:
Objective-C instance method.
- preferredPasteboardTypeFromArray:restrictedToTypesFromArray:
Objective-C instance method.
- raiseBaseline:
Objective-C instance method.
- rangeForUserCharacterAttributeChange
Objective-C instance method.
- rangeForUserParagraphAttributeChange
Objective-C instance method.
- rangeForUserTextChange
Objective-C instance method.
- readablePasteboardTypes
Objective-C instance method.
- readSelectionFromPasteboard:
Objective-C instance method.
- readSelectionFromPasteboard:type:
Objective-C instance method.
+ registerForServices
Objective-C class method.
- replaceTextContainer:
Objective-C instance method.
- resignFirstResponder
Objective-C instance method.
- rulerView:didAddMarker:
Objective-C instance method.
- rulerView:didMoveMarker:
Objective-C instance method.
- rulerView:didRemoveMarker:
Objective-C instance method.
- rulerView:handleMouseDown:
Objective-C instance method.
- rulerView:shouldAddMarker:
Objective-C instance method.
- rulerView:shouldMoveMarker:
Objective-C instance method.
- rulerView:shouldRemoveMarker:
Objective-C instance method.
- rulerView:willAddMarker:atLocation:
Objective-C instance method.
- rulerView:willMoveMarker:toLocation:
Objective-C instance method.
- selectedRange
Objective-C instance method.
- selectedTextAttributes
Objective-C instance method.
- selectionAffinity
Objective-C instance method.
- selectionGranularity
Objective-C instance method.
- selectionRangeForProposedRange:granularity:
Objective-C instance method.
- setAlignment:range:
Objective-C instance method.
- setBackgroundColor:
Objective-C instance method.
- setConstrainedFrameSize:
Objective-C instance method.
- setDelegate:
Objective-C instance method.
- setDrawsBackground:
Objective-C instance method.
- setEditable:
Objective-C instance method.
- setFieldEditor:
Objective-C instance method.
- setImportsGraphics:
Objective-C instance method.
- setInsertionPointColor:
Objective-C instance method.
- setMarkedText:selectedRange:
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
- setMarkedTextAttributes:
Objective-C instance method.
- setNeedsDisplayInRect:avoidAdditionalLayout:
Objective-C instance method.
- setRichText:
Objective-C instance method.
- setRulerVisible:
Objective-C instance method.
- setSelectable:
Objective-C instance method.
- setSelectedRange:
Objective-C instance method.
- setSelectedRange:affinity:stillSelecting:
Objective-C instance method.
- setSelectedTextAttributes:
Objective-C instance method.
- setSelectionGranularity:
Objective-C instance method.
- setSmartInsertDeleteEnabled:
Objective-C instance method.
- setTextContainer:
Objective-C instance method.
- setTextContainerInset:
Objective-C instance method.
- setTypingAttributes:
Objective-C instance method.
- setUsesFontPanel:
Objective-C instance method.
- setUsesRuler:
Objective-C instance method.
- shouldChangeTextInRange:replacementString:
Objective-C instance method.
- shouldDrawInsertionPoint
Objective-C instance method.
- smartDeleteRangeForProposedRange:
Objective-C instance method.
- smartInsertDeleteEnabled
Objective-C instance method.
- spellCheckerDocumentTag
Objective-C instance method.
- textContainer
Objective-C instance method.
- textContainerInset
Objective-C instance method.
- textContainerOrigin
Objective-C instance method.
- textStorage
Objective-C instance method.
- tightenKerning:
Objective-C instance method.
- turnOffKerning:
Objective-C instance method.
- turnOffLigatures:
Objective-C instance method.
- typingAttributes
Objective-C instance method.
- unmarkText
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
- updateDragTypeRegistration
Objective-C instance method.
- updateFontPanel
Objective-C instance method.
- updateInsertionPointStateAndRestartTimer:
Objective-C instance method.
- updateRuler
Objective-C instance method.
- useAllLigatures:
Objective-C instance method.
- usesFontPanel
Objective-C instance method.
- usesRuler
Objective-C instance method.
- useStandardKerning:
Objective-C instance method.
- useStandardLigatures:
Objective-C instance method.
- validRequestorForSendType:returnType:
Objective-C instance method.
- writablePasteboardTypes
Objective-C instance method.
- writeSelectionToPasteboard:type:
Objective-C instance method.
- writeSelectionToPasteboard:types:
Objective-C instance method.
public static final String TextViewWillChangeNotifyingTextViewNotification
public static final String TextViewDidChangeSelectionNotification
public static final int SelectByCharacter
public static final int SelectByWord
public static final int SelectByParagraph
public static final int SelectionAffinityUpstream
public static final int SelectionAffinityDownstream
protected TextView(boolean shouldAllocate, int objcObject)
public TextView()
[[NSTextView
alloc] init]
.
public TextView(Coder aDecoder)
- initWithCoder:
on a newly allocated object.
public TextView(Rect frameRect)
- initWithFrame:
on a newly allocated object.
public TextView(Rect frameRect, TextContainer container)
- initWithFrame:textContainer:
on a newly allocated object.
public native TextContainer textContainer()
- textContainer
Objective-C instance method.
public native void setTextContainer(TextContainer container)
- setTextContainer:
Objective-C instance method.
public native void replaceTextContainer(TextContainer newContainer)
- replaceTextContainer:
Objective-C instance method.
public native void setTextContainerInset(Size inset)
- setTextContainerInset:
Objective-C instance method.
public native Size textContainerInset()
- textContainerInset
Objective-C instance method.
public native Point textContainerOrigin()
- textContainerOrigin
Objective-C instance method.
public native void invalidateTextContainerOrigin()
- invalidateTextContainerOrigin
Objective-C instance method.
public native LayoutManager layoutManager()
- layoutManager
Objective-C instance method.
public native TextStorage textStorage()
- textStorage
Objective-C instance method.
public native void setConstrainedFrameSize(Size desiredSize)
- setConstrainedFrameSize:
Objective-C instance method.
public native void setAlignmentInRange(int alignment, Range range)
- setAlignment:range:
Objective-C instance method.
public native void turnOffKerning(Object sender)
- turnOffKerning:
Objective-C instance method.
public native void tightenKerning(Object sender)
- tightenKerning:
Objective-C instance method.
public native void loosenKerning(Object sender)
- loosenKerning:
Objective-C instance method.
public native void useStandardKerning(Object sender)
- useStandardKerning:
Objective-C instance method.
public native void turnOffLigatures(Object sender)
- turnOffLigatures:
Objective-C instance method.
public native void useStandardLigatures(Object sender)
- useStandardLigatures:
Objective-C instance method.
public native void useAllLigatures(Object sender)
- useAllLigatures:
Objective-C instance method.
public native void raiseBaseline(Object sender)
- raiseBaseline:
Objective-C instance method.
public native void lowerBaseline(Object sender)
- lowerBaseline:
Objective-C instance method.
public native void alignJustified(Object sender)
- alignJustified:
Objective-C instance method.
public native void changeColor(Object sender)
- changeColor:
Objective-C instance method.
public native void rulerViewDidMoveMarker(RulerView ruler, RulerMarker marker)
- rulerView:didMoveMarker:
Objective-C instance method.
public native void rulerViewDidRemoveMarker(RulerView ruler, RulerMarker marker)
- rulerView:didRemoveMarker:
Objective-C instance method.
public native void rulerViewDidAddMarker(RulerView ruler, RulerMarker marker)
- rulerView:didAddMarker:
Objective-C instance method.
public native boolean rulerViewShouldMoveMarker(RulerView ruler, RulerMarker marker)
- rulerView:shouldMoveMarker:
Objective-C instance method.
public native boolean rulerViewShouldAddMarker(RulerView ruler, RulerMarker marker)
- rulerView:shouldAddMarker:
Objective-C instance method.
public native float rulerViewWillMoveMarker(RulerView ruler, RulerMarker marker, float location)
- rulerView:willMoveMarker:toLocation:
Objective-C instance method.
public native boolean rulerViewShouldRemoveMarker(RulerView ruler, RulerMarker marker)
- rulerView:shouldRemoveMarker:
Objective-C instance method.
public native float rulerViewWillAddMarker(RulerView ruler, RulerMarker marker, float location)
- rulerView:willAddMarker:atLocation:
Objective-C instance method.
public native void rulerViewHandleMouseDown(RulerView ruler, Event event)
- rulerView:handleMouseDown:
Objective-C instance method.
public native void setNeedsDisplayInRectAvoidAdditionalLayout(Rect rect, boolean flag)
- setNeedsDisplayInRect:avoidAdditionalLayout:
Objective-C instance method.
public native boolean shouldDrawInsertionPoint()
- shouldDrawInsertionPoint
Objective-C instance method.
public native void drawInsertionPointInRect(Rect rect, Color color, boolean flag)
- drawInsertionPointInRect:color:turnedOn:
Objective-C instance method.
public native void updateRuler()
- updateRuler
Objective-C instance method.
public native void updateFontPanel()
- updateFontPanel
Objective-C instance method.
public native void updateDragTypeRegistration()
- updateDragTypeRegistration
Objective-C instance method.
public native Range selectionRangeForProposedRange(Range proposedCharRange, int granularity)
- selectionRangeForProposedRange:granularity:
Objective-C instance method.
public native Array writablePasteboardTypes()
- writablePasteboardTypes
Objective-C instance method.
public native boolean writeSelectionToPasteboardUsingType(Pasteboard pboard, String type)
- writeSelectionToPasteboard:type:
Objective-C instance method.
public native boolean writeSelectionToPasteboardUsingTypes(Pasteboard pboard, Array types)
- writeSelectionToPasteboard:types:
Objective-C instance method.
public native Array readablePasteboardTypes()
- readablePasteboardTypes
Objective-C instance method.
public native String preferredPasteboardTypeFromArray(Array availableTypes, Array allowedTypes)
- preferredPasteboardTypeFromArray:restrictedToTypesFromArray:
Objective-C instance method.
public native boolean readSelectionFromPasteboardUsingType(Pasteboard pboard, String type)
- readSelectionFromPasteboard:type:
Objective-C instance method.
public native boolean readSelectionFromPasteboard(Pasteboard pboard)
- readSelectionFromPasteboard:
Objective-C instance method.
public static native void registerForServices()
+ registerForServices
Objective-C class method.
public native Object validRequestorForTypes(String sendType, String returnType)
- validRequestorForSendType:returnType:
Objective-C instance method.
public native void pasteAsPlainText(Object sender)
- pasteAsPlainText:
Objective-C instance method.
public native void pasteAsRichText(Object sender)
- pasteAsRichText:
Objective-C instance method.
public native Array acceptableDragTypes()
- acceptableDragTypes
Objective-C instance method.
public native int dragOperationForDraggingInfo(DraggingInfo dragInfo, String type)
- dragOperationForDraggingInfo:type:
Objective-C instance method.
public native void cleanUpAfterDragOperation()
- cleanUpAfterDragOperation
Objective-C instance method.
public native void setSelectedRangeWithAffinity(Range charRange, int affinity, boolean stillSelectingFlag)
- setSelectedRange:affinity:stillSelecting:
Objective-C instance method.
public native int selectionAffinity()
- selectionAffinity
Objective-C instance method.
public native int selectionGranularity()
- selectionGranularity
Objective-C instance method.
public native void setSelectionGranularity(int granularity)
- setSelectionGranularity:
Objective-C instance method.
public native void setSelectedTextAttributes(Dictionary attributeDictionary)
- setSelectedTextAttributes:
Objective-C instance method.
public native Dictionary selectedTextAttributes()
- selectedTextAttributes
Objective-C instance method.
public native void setInsertionPointColor(Color color)
- setInsertionPointColor:
Objective-C instance method.
public native Color insertionPointColor()
- insertionPointColor
Objective-C instance method.
public native void updateInsertionPointStateAndRestartTimer(boolean restartFlag)
- updateInsertionPointStateAndRestartTimer:
Objective-C instance method.
public native Range markedRange()
- markedRange
Objective-C instance method.
public native void setMarkedTextAttributes(Dictionary attributeDictionary)
- setMarkedTextAttributes:
Objective-C instance method.
public native Dictionary markedTextAttributes()
- markedTextAttributes
Objective-C instance method.
public native void setRulerVisible(boolean flag)
- setRulerVisible:
Objective-C instance method.
public native boolean usesRuler()
- usesRuler
Objective-C instance method.
public native void setUsesRuler(boolean flag)
- setUsesRuler:
Objective-C instance method.
public native int spellCheckerDocumentTag()
- spellCheckerDocumentTag
Objective-C instance method.
public native Dictionary typingAttributes()
- typingAttributes
Objective-C instance method.
public native void setTypingAttributes(Dictionary attrs)
- setTypingAttributes:
Objective-C instance method.
public native boolean shouldChangeTextInRange(Range affectedCharRange, String replacementString)
- shouldChangeTextInRange:replacementString:
Objective-C instance method.
public native void didChangeText()
- didChangeText
Objective-C instance method.
public native Range rangeForUserTextChange()
- rangeForUserTextChange
Objective-C instance method.
public native Range rangeForUserCharacterAttributeChange()
- rangeForUserCharacterAttributeChange
Objective-C instance method.
public native Range rangeForUserParagraphAttributeChange()
- rangeForUserParagraphAttributeChange
Objective-C instance method.
public native boolean isSelectable()
- isSelectable
Objective-C instance method.
public native void setSelectable(boolean flag)
- setSelectable:
Objective-C instance method.
public native boolean isEditable()
- isEditable
Objective-C instance method.
public native void setEditable(boolean flag)
- setEditable:
Objective-C instance method.
public native boolean isRichText()
- isRichText
Objective-C instance method.
public native void setRichText(boolean flag)
- setRichText:
Objective-C instance method.
public native boolean importsGraphics()
- importsGraphics
Objective-C instance method.
public native void setImportsGraphics(boolean flag)
- setImportsGraphics:
Objective-C instance method.
public native Object delegate()
- delegate
Objective-C instance method.
public native void setDelegate(Object anObject)
- setDelegate:
Objective-C instance method.
public native boolean isFieldEditor()
- isFieldEditor
Objective-C instance method.
public native void setFieldEditor(boolean flag)
- setFieldEditor:
Objective-C instance method.
public native boolean usesFontPanel()
- usesFontPanel
Objective-C instance method.
public native void setUsesFontPanel(boolean flag)
- setUsesFontPanel:
Objective-C instance method.
public native boolean isRulerVisible()
- isRulerVisible
Objective-C instance method.
public native void setBackgroundColor(Color color)
- setBackgroundColor:
Objective-C instance method.
public native Color backgroundColor()
- backgroundColor
Objective-C instance method.
public native void setDrawsBackground(boolean flag)
- setDrawsBackground:
Objective-C instance method.
public native boolean drawsBackground()
- drawsBackground
Objective-C instance method.
public native Range selectedRange()
- selectedRange
Objective-C instance method.
public native void setSelectedRange(Range charRange)
- setSelectedRange:
Objective-C instance method.
public native boolean resignFirstResponder()
- resignFirstResponder
Objective-C instance method.
public native boolean becomeFirstResponder()
- becomeFirstResponder
Objective-C instance method.
public native boolean smartInsertDeleteEnabled()
- smartInsertDeleteEnabled
Objective-C instance method.
public native void setSmartInsertDeleteEnabled(boolean flag)
- setSmartInsertDeleteEnabled:
Objective-C instance method.
public native Range smartDeleteRangeForProposedRange(Range proposedCharRange)
- smartDeleteRangeForProposedRange:
Objective-C instance method.
public native void insertText(String aString)
- insertText:
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
public native void doCommandBySelector(Selector aSelector)
- doCommandBySelector:
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
public native void setMarkedTextAndSelectedRange(String aString, Range selRange)
- setMarkedText:selectedRange:
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
public native void unmarkText()
- unmarkText
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
public native boolean hasMarkedText()
- hasMarkedText
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
public native int conversationIdentifier()
- conversationIdentifier
Objective-C instance method
defined by the TextInput
interface
(known as the NSTextInput
Objective-C protocol).
All Packages Class Hierarchy This Package Previous Next Index